package com.ophiux.cs.application.consultBase.dto;

import com.ophiux.cs.application.core.RequestDTO;
import com.ophiux.cs.application.core.Throws.ParamException;
import com.ophiux.utils.common.StringUtil;

public class deptCreateVadilRequest extends RequestDTO{

	private String DEPT_NAME;//科室名称
	
	private String HOSPITAL_ID;//医院ID

	public String getHOSPITAL_ID() {
		return HOSPITAL_ID;
	}

	public void setHOSPITAL_ID(String hOSPITAL_ID) {
		HOSPITAL_ID = hOSPITAL_ID;
	}

	public String getDEPT_NAME() {
		return DEPT_NAME;
	}

	public void setDEPT_NAME(String dEPT_NAME) {
		DEPT_NAME = dEPT_NAME;
	}
	public void verParam() throws ParamException{
		if(StringUtil.isEmpty(this.DEPT_NAME)) {
			throw new ParamException("科室名称不可为空");
		}
		if(StringUtil.isEmpty(this.HOSPITAL_ID)) {
			throw new ParamException("医院信息不可为空");
		}
	}
	@Override
	public boolean isParamValid() {
		// TODO Auto-generated method stub
		return false;
	}
	
}
